WP_Defender\Controller\Antibot_Global_Firewall A

Total Complexity 69
Dependencies 13
Dependents 3
Total lines 614
Lines of code 393
Logical lines of code 140
Comment lines 157
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
save_settings()
B
37 16 78
handle_download_and_store_blocklist()
A
53 9 21
blocklist_checker_add_ip_to_allowlist()
S
43 5 54
data_frontend()
S
48 4 35
__construct()
S
55 5 19
blocklist_checker_search()
S
49 3 33
sync_state()
S
62 4 12
maybe_hcm_connection_attempt()
S
61 4 12
process_switch_mode()
S
53 3 26
switch_managed_by()
S
53 2 27
blocklist_checker_submit_trusted_ip_form()
S
52 1 31
switch_mode()
S
64 3 10
import_data()
S
65 2 9
enqueue_assets()
S
73 2 5
remove_settings()
S
98 1 1
export_strings()
S
82 1 3
disconnect_site()
S
74 1 4
to_array()
S
98 1 1
hide_antibot_notice()
S
76 1 4
remove_data()
S
67 1 8